package com.xsd.awen.config;

import java.math.BigDecimal;

public class App {

    public static final String COMMA = ",";

    public static final BigDecimal MIN_UNIT = BigDecimal.valueOf(0.01);

    public static class STATUS{
        public static final int DELETE = 0;
        public static final int NORMAL = 1;
        public static final int FORBID = 2;//禁用
        public static final int NO_LOGIN = 3;//不可登录
    }

    public static class OrderStatus{
        public static final int DELETE = 0;
        public static final int NORMAL = 1;
    }

    public static class SpDirection{
        public static final int IN = 1;
        public static final int OUT = -1;
    }

    public static class WHETHER{
        public static final int NO = 0;
        public static final int YES = 1;
    }

    public static class opType{
        public static final int AUDIT = 0;  // 审核
        public static final int UN_AUDIT = 1;  // 反审核
    }

    public static class MessageStatus{
        public static final int UN_HANDLE = 0;
        public static final int COMPLATE = 1;
    }

    public static class OrderType{
        public static final int PRE_PO = 101;     // 采购订单
        public static final int PO = 102;         // 采购单
        public static final int PO_REJECT = 103;  // 采购退货单

        public static final int PRE_SO = 201;     // 销售订单
        public static final int SO = 202;         // 销售单
        public static final int SO_REJECT = 203;  // 销售退货单

    }

    /**
     * 系统设置
     */
    public static class SystemSet{
        // 1 允许 0 不允许
        public static final int ALLOW_NEGATIVE_STORE = 1;
    }

}
